package cn.zhz.cloud.auth.web.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhz
 * @since 2022-11-08
 */
@Data
@ApiModel(value = "RolePermissionSaveDto 保存参数", description = " 保存参数")
public class RolePermissionSaveDto implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty("角色id")
    private Long roleId;

    @ApiModelProperty("权限id")
    private Long permissionId;

}
